getAuthState

fun getAuthState(): Flow<AuthState>

Exposes a Flow that emits the current authentication state of the user, such as whether the user is authenticated or unauthenticated.

Return

A Flow of AuthState representing the user's authentication state.